<!doctype html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>欢迎您登录</title>
        <link rel="stylesheet" type="text/css" href="__CSS__/login_1.css" media="all">
        <link rel="stylesheet" type="text/css" href="__CSS__/login.css" media="all">
        <link rel="stylesheet" type="text/css" href="__CSS__/{$Think.config.COLOR_STYLE}.css" media="all">
<!--[if lt IE 9]>
    <script type="text/javascript" src="__STATIC__/jquery-1.10.2.min.js"></script>
    <![endif]-->
    <!--[if gte IE 9]><!-->
 <!--    <script type="text/javascript" src="__STATIC__/jquery-2.0.3.min.js"></script> -->
    <!--<![endif]-->
    <script type="text/javascript" src="__CSS__/jingdong.js"></script>

    </head>
    <body id="login-page">




    <div class="w logo_top">
        <div id="logo">
            <a href="/">
                <img src="__IMG__/logo.jpg" alt="鹰熊汇" height="60" width="170">
            </a>
            <b></b>
        </div>
    </div>


    <div class="login-wrap focus" id="focus">
        <div class="w">
            <div class="login-form">
                <div class="login-box">
                    <div class="mt">
                        <h1>鹰熊汇会员</h1>
                        <!-- <div class="extra-r">
                            <div class="regist-link"><a href="https://reg.jd.com/reg/person?ReturnUrl=http%3A%2F%2Fwww.jd.com" target="_blank" clstag="pageclick|keycount|20150112ABD|1"><b></b>立即注册</a></div>
                        </div> -->
                    </div>
                    <div class="msg-wrap">
                        <div class="msg-warn"><b></b>公共场所不建议自动登录，以防账号丢失</div>
                        <div style="display: none;" class="msg-error hide"><b></b></div>
                    </div>
                    <div class="mc">
                        <div class="form">
                            <form id="formlogin" method="post" onsubmit="return false;">
                                <input id="uuid" name="uuid" value="28296bc3-1738-4157-a926-eb79da83a0a4" type="hidden">
                                <input name="machineNet" id="machineNet" value="" class="hide" type="hidden">
                                <input name="machineCpu" id="machineCpu" value="" class="hide" type="hidden">
                                <input name="machineDisk" id="machineDisk" value="" class="hide" type="hidden">
                                <input name="LEBICFvFAV" value="DSeRV" type="hidden">
                                <div class="item item-fore1">
                                    <label for="loginname" class="login-label name-label"></label>
                                    <input id="loginname" class="itxt" name="username" tabindex="1" autocomplete="off" placeholder="邮箱/用户名/已验证手机" type="text">
                                    <span class="clear-btn"></span>
                                </div>
                                <div id="entry" class="item item-fore2">
                                    <label class="login-label pwd-label" for="nloginpwd"></label>
                                    <label id="sloginpwd" style="display: none;">
                                                                        </label>
                                    <input id="nloginpwd" name="password" class="itxt itxt-error" tabindex="2" autocomplete="off" placeholder="密码" type="password">
                                    <input name="loginpwd" id="loginpwd" value="" class="hide" type="hidden">
                                    <span class="clear-btn"></span>
                                    <span style="display: none;" class="capslock"><b></b>大小写锁定已打开</span>
                                </div>
                                <div class="item item-fore3">
                                    <div class="safe">
                                        <span>
                                            <input class="jdcheckbox" tabindex="3" type="checkbox">
                                            <label for="">自动登录</label>
                                        </span>
                                        <span class="forget-pw-safe">
                                            <a >忘记密码?</a>
                                        </span>
                                    </div>
                                    
                                </div>                            
                                <div class="login_btn_panel">
                                    <button class="login-btn" type="submit">
                                        <span class="in"><i class="icon-loading"></i>登 录 中 ...</span>
                                        <span class="on">登 录</span>
                                    </button>
                                    <div class="check-tips" style="height: 50px;line-height: 50px;"></div>
                                </div>
                            </form>
                        </div>
                    
                    </div>
                </div>

            </div>
        </div>
        <!-- <div class="login-banner" style="background-color: #ee2743">
            <div class="w">                    
                <div id="banner-bg" clstag="pageclick|keycount|20150112ABD|46" class="i-inner" style="background: url(__IMG__/banner/banner_3.jpg) 0px 0px no-repeat;background-color: #ee2743">
                    
                </div>                   
            </div>                   
        </div> -->

        <div id="focus_m" class="focus_m">
            <ul>
                <li class="li_1"><a href="#" hidefocus="true"></a></li>
                <li class="li_2"><a href="#" hidefocus="true"></a></li>
                <li class="li_3"><a href="#" hidefocus="true"></a></li>
            </ul>
        </div>
        <a href="javascript:;" class="focus_l" id="focus_l" hidefocus="true" title="上一张" style="display:none;"><b></b><span></span></a>
        <a href="javascript:;" class="focus_r" id="focus_r" hidefocus="true" title="下一张" style="display:none;"><b></b><span></span></a>
        <script type="text/javascript" src="__IMG__/banner/images/jquery.js"></script>
        <script type="text/javascript" src="__IMG__/banner/images/script.js"></script>
    </div>

        
<div class="w footer">
    <div id="footer-2015">
        <div class="links">
            <a  href="">关于我们</a>|
            <a  href="">联系我们</a>|
            <a  href="">人才招聘</a>|
            <a  href="">商家入驻</a>|
            <a  href="">友情链接</a>|
            <a  href="">销售联盟</a>|
            <a  href="">鹰熊汇社区</a>|
            <a  href="">鹰熊汇公益</a>
        </div>
        <div class="copyright">
            <p>粤ICP备14046359号-1</p>
            <p></p>
            <p>Copyright©2004-2015&nbsp;&nbsp;鹰熊汇 版权所有，并保留所有权利。</p>
        </div>
    </div>
</div>
</div>




<script type="text/javascript">
        /* 登陆表单获取焦点变色 */
        $(".login-form").on("focus", "input", function(){
            $(this).closest('.item').addClass('focus');
        }).on("blur","input",function(){
            $(this).closest('.item').removeClass('focus');
        });

        //表单提交
        $(document)
            .ajaxStart(function(){
                $("button:submit").addClass("log-in").attr("disabled", true);
            })
            .ajaxStop(function(){
                $("button:submit").removeClass("log-in").attr("disabled", false);
            });

        $("form").submit(function(){
            var self = $(this);
            $.post(self.attr("action"), self.serialize(), success, "json");
            return false;

            function success(data){
                if(data.status){
                    window.location.href = data.url;
                } else {
                    self.find(".check-tips").text(data.info);
                    //刷新验证码
                    $(".reloadverify").click();
                }
            }
        });

        $(function(){
            //初始化选中用户名输入框
            $("#itemBox").find("input[name=username]").focus();
            //刷新验证码
            var verifyimg = $(".verifyimg").attr("src");
            $(".reloadverify").click(function(){
                if( verifyimg.indexOf('?')>0){
                    $(".verifyimg").attr("src", verifyimg+'&random='+Math.random());
                }else{
                    $(".verifyimg").attr("src", verifyimg.replace(/\?.*$/,'')+'?'+Math.random());
                }
            });

            //placeholder兼容性
                //如果支持 
            function isPlaceholer(){
                var input = document.createElement('input');
                return "placeholder" in input;
            }
                //如果不支持
            if(!isPlaceholer()){
                $(".placeholder_copy").css({
                    display:'block'
                })
                $("#itemBox input").keydown(function(){
                    $(this).parents(".item").next(".placeholder_copy").css({
                        display:'none'
                    })                    
                })
                $("#itemBox input").blur(function(){
                    if($(this).val()==""){
                        $(this).parents(".item").next(".placeholder_copy").css({
                            display:'block'
                        })                      
                    }
                })
                
                
            }
        });
    </script>
</body>
</html>
